package kr.hkit.powerjava.chapter06;

import java.util.Scanner;

public class Exercise1 {
	public static void main(String[] args) {
		int x;
		
		Scanner input = new Scanner(System.in);
		System.out.print("x의 값을 입력하시오: ");
		x = input.nextInt();
			
		if(x >= 20 && x < 60)
			x++;
		System.out.println("x의 값은 " + x);
		
		}
	}
